package ch1;

import java.util.Scanner;

public class Zuoye03087 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入十个数：");
        double a;
        int i=0;
        double b=0;
        while (i<10){
            a=scan.nextDouble();
            b=b+a;
            i++;
        }
        System.out.println(b);


    }
}
